projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9aeb2f
)
update_type_references: Deal with type_refs_ht being NULL
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 18 Dec 2012 03:45:08 +0000
(22:45 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 18 Dec 2012 03:45:08 +0000
(22:45 -0500)
This can apparently happen, and it was breaking make check
on my system, by causing it to throw a critical out of
g_hash_table_iter_init from here.
gtk/gtkcssselector.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssselector.c
b/gtk/gtkcssselector.c
index fcf0ac6cdfe32f793eea5bf34f77652632f0c499..7956a973184fbb6c5d41be3413c317394754a041 100644
(file)
--- a/
gtk/gtkcssselector.c
+++ b/
gtk/gtkcssselector.c
@@
-728,6
+728,9
@@
update_type_references (void)
type_refs_last_serial = serial;
+ if (type_refs_ht == NULL)
+ return;
+
g_hash_table_iter_init (&iter, type_refs_ht);
while (g_hash_table_iter_next (&iter,
NULL, &value))